package cn.lasse.design.visitor;

import cn.lasse.design.user.impl.Student;
import cn.lasse.design.user.impl.Teacher;

/**
 * @author Lasse
 */
public interface Visitor {
    // 访问学生信息
    void visit(Student student);

    // 访问老师信息
    void visit(Teacher teacher);
}
